/**
 * ScoreScene.h
 * This class provides a interface for the user to view the top 5 scores and select any score to
 * be uploaded.
 * 
 * Revision History: 
 *
 * Date     Author       Version   Changes
 * ======== ============ ========= ================================================================
 * 03/26/10 Steve Hu     2.0       Initial version.
 * 03/27/10 Judy Cheng   2.1       Add goToWeb in touchType.
 * 05/29/10 Robin Mahony 2.2	   Added link to google code website, and changed label for high scores link
 * ======== ============ ========= ================================================================
 *
 */
#import "cocos2d.h"
#import "MenuScene.h"
#import <UIKit/UIKit.h>

/* The target website which inserts username and score data into MySQL database.  */
#define scoreURL @"http://sigma-topscore.comyr.com/sigma_web/upload_score.php"
#define numOfScore 5

@interface ScoreScene : Scene
{
	
}
@end


@interface ScoreLayer  : Layer
{
	/* Define the different kinds of touch events for the ScoreScene.  */
	enum touchType 
	{
		score_0,
		score_1,
		score_2,
		score_3,
		score_4,
		goToWeb,
		goToGCode,
		kNone
	} touchType;
	
	int highlightIndex; /* Highlighted score row index number.  */
	int score_y_coord[numOfScore + 1]; /* Coordinate for each score rows.  */
	int scoreList[numOfScore];
	NSString *nameList[numOfScore];
}
//- (IBAction) openWeb;
@end
